module.exports = function (app, sio, dbApi) {
	
	app.get('/', function (req, res) {
		console.log('app get');
		res.render('player', {
            playerName: req.session.playerName,
            group: req.session.group
        });
	})
	
    app.post('/', function (req, res, next) {
    	debugger;
    	console.log('aaaaaaaa')
    	next();
    }, function (req, res) { //next
        res.send('authentication-success', 200);
    });
}